package com.hspedu.wrapper;
/*
 *@auther will
 *@version 1.0
 */

public class WrapperType {
    public static void main(String[] args) {
        //手动装箱
        int n1 = 100;
        Integer integer = new Integer(n1);
        Integer integer1 = Integer.valueOf(n1);

        int n2 = 200;
        Integer integer2 = n2;//底层使用的是 Integer.valueOf(n2)
        System.out.println(integer2.intValue());
    }
}
